import request from '@/utils/request'

// 查询森理产品包列表
export function listSlProduct(query) {
  return request({
    url: '/projects/SlProduct/list',
    method: 'get',
    params: query
  })
}

// 查询森理产品包详细
export function getSlProduct(id) {
  return request({
    url: '/projects/SlProduct/' + id,
    method: 'get'
  })
}

// 新增森理产品包
export function addSlProduct(data) {
  return request({
    url: '/projects/SlProduct',
    method: 'post',
    data: data
  })
}

// 修改森理产品包
export function updateSlProduct(data) {
  return request({
    url: '/projects/SlProduct',
    method: 'put',
    data: data
  })
}

// 删除森理产品包
export function delSlProduct(id) {
  return request({
    url: '/projects/SlProduct/' + id,
    method: 'delete'
  })
}
